package com.gjt.URI_URL;

import java.net.ProxySelector;

/**
 * Created with Intel IDEA.
 * 代理选择器类 测试
 *      虚拟机打开的所有连接都将向这个ProxySelector 询问将要使用的正确代理
 *
 *
 * @Auther: gjt
 * @Date: 2024/3/23 13:40
 */
public class ProxySelectorTest {
    public static void main(String[] args) {
        ProxySelector selector = new LocalProxySelector();
        ProxySelector.setDefault(selector);
    }
}
